<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@include file="../common/head.jsp" %>
<div class="right_col" role="main">
    <form class="form-horizontal form-label-left" novalidate>
        <span class="section">进货信息</span>
        <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-5" width="15">进货Id<span>*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-5">
                <input id="id" class="form-control input-small input-sm " value="${imCommodity.id}" type="text"
                       readonly>
            </div>
        </div>
        <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-5" width="15">商品Id<span>*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-5">
                <input id="comId" class="form-control input-small input-sm " value="${imCommodity.comId}" type="text"
                       readonly>
            </div>
        </div>
        <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-5">商品名称<span>*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-5">
                <input id="comName" class="form-control col-md-7 col-xs-5" value="${imCommodity.comName}" type="text"
                       readonly>
            </div>
        </div>
        <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-5">数量 <span>*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-5">
                <input id="num" class="form-control col-md-7 col-xs-5" value="${imCommodity.num}" type="text" readonly>
            </div>
        </div>
        <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-5">进货时间<span>*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-5">
                <input id="imDate" class="form-control col-md-7 col-xs-5"
                       value="<fmt:formatDate pattern="yyyy-MM-dd" value="${imCommodity.imDate}"/>" type="text"
                       readonly>
            </div>
        </div>
        <a onclick="javascript:history.back(-1);" class=" text-left btn btn-default  " role="button">返回上一页</a>
        <a href="${pageContext.request.contextPath }/admin/flatform/imCommodity/edit?id=${imCommodity.id}"
           class=" text-center btn btn-primary  col-md-offset-4 col-lg-offset-4col-xl-offset-4" role="button">修改</a>

    </form>
    <div class="clearfix"></div>
</div>
<%@include file="../common/footer.jsp" %>